package com.heart.house.biz.mapper;


import com.heart.house.common.model.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface UserMapper {

    List<User> selectUsers();

    int insert(User account);

    void delete(String value);

    void update(User updateUser);

    List<User> selectUsersByQuery(User user);

    int findByEmail(@Param("email") String email);

    int updateById(User updateUser);

}
